<a href='https://github.com/angular/angular.js/edit/v1.6.x/src/ng/filter/filters.js?message=docs(uppercase)%3A%20describe%20your%20change...#L712' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit">&nbsp;</i>Improve this Doc</a>



<a href='https://github.com/angular/angular.js/tree/v1.6.9/src/ng/filter/filters.js#L712' class='view-source pull-right btn btn-primary'>
  <i class="glyphicon glyphicon-zoom-in">&nbsp;</i>View Source
</a>


<header class="api-profile-header">
  <h1 class="api-profile-header-heading">uppercase</h1>
  <ol class="api-profile-header-structure naked-list step-list">
    
    <li>
      - filter in module <a href="api/ng">ng</a>
    </li>
  </ol>
</header>





<div class="api-profile-description">
  <h2 id="overview">Overview</h2>
  <p>Converts string to uppercase.</p>

</div>




<div>
  

  
  <h2 id="usage">Usage</h2>
  <h3>In HTML Template Binding</h3>
  
    <pre><code>{{ uppercase_expression | uppercase}}</code></pre>
  

  <h3>In JavaScript</h3>
  <pre><code>$filter(&#39;uppercase&#39;)()</code></pre>

  
  
  


  
  <h2 id="examples">Example</h2><p>

<div>
  <plnkr-opener example-path="examples/example-filter-uppercase"></plnkr-opener>

  <div class="runnable-example"
      path="examples/example-filter-uppercase"
      module="uppercaseFilterExample"
      name="filter-uppercase">

  
    <div class="runnable-example-file" 
      name="index.html"
      language="html"
      type="html">
      <pre><code>&lt;script&gt;&#10;  angular.module(&#39;uppercaseFilterExample&#39;, [])&#10;    .controller(&#39;ExampleController&#39;, [&#39;$scope&#39;, function($scope) {&#10;      $scope.title = &#39;This is a title&#39;;&#10;    }]);&#10;&lt;/script&gt;&#10;&lt;div ng-controller=&quot;ExampleController&quot;&gt;&#10;  &lt;!-- This title should be formatted normally --&gt;&#10;  &lt;h1&gt;{{title}}&lt;/h1&gt;&#10;  &lt;!-- This title should be capitalized --&gt;&#10;  &lt;h1&gt;{{title | uppercase}}&lt;/h1&gt;&#10;&lt;/div&gt;</code></pre>
    </div>
  

    <iframe class="runnable-example-frame" src="examples/example-filter-uppercase/index.html" name="example-filter-uppercase"></iframe>
  </div>
</div>


</p>

</div>


